package com.example.administrator.dc.Activity;

import android.support.v7.app.AppCompatActivity;

import com.example.administrator.dc.fragment.BaseFragment;

/**
 * Created by Administrator on 2017/8/14.
 */

public abstract class BaseActivity extends AppCompatActivity {
    protected static  int userId;
    protected static  int Clubid;
    protected static  boolean isCheck;
    public  int getuid(){
        int userId= BaseFragment.getUserid();
        return  userId;
    }
    public  void  setuid(int uid){
        BaseFragment.setUserid(uid);
    }

    public static  void setClubid(int pid){ Clubid=pid; }

    public static  int getClubid(){
        return  Clubid;//userid;
    }

    public static void setIsCheck(boolean isc){ isCheck=isc;}
    public static  boolean getIsCheck(){return isCheck;}


}

